package com.lanchetech.dao;
import com.lanchetech.bean.request.PageReq;

import java.util.List;

import com.lanchetech.entity.Unit;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UnitMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Unit record);

    int insertSelective(Unit record);

    Unit selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Unit record);

    int updateByPrimaryKey(Unit record);

    List<Unit> findAllPage(PageReq req);

    List<Unit> findAll();


}